from .v1.user import bp as user_bp
from .v1.token import bp as token_bp
from .v1.address import bp as address_bp
from .v1.store import bp as store_bp
from .v1.product import bp as product_bp
from .v1.image import bp as image_bp
# from .v1.order import bp as order_bp
from .v1.category import bp as category_bp
from flask import Flask


def app_init(app: Flask):
    app.register_blueprint(user_bp)
    app.register_blueprint(token_bp)
    app.register_blueprint(address_bp)
    app.register_blueprint(store_bp)
    app.register_blueprint(image_bp)
    app.register_blueprint(product_bp)
    app.register_blueprint(category_bp)
